/**
 * 
 */
package com.kexinde.wjifen.dao;

import java.util.List;

import com.kexinde.wjifen.util.JdbcTemplate;
import com.kexinde.wjifen.vo.IndexComment;

/**
 * 评论表数据库操作类
 * @author vincent
 *
 */
public class CommentDao {
	
	public List<IndexComment> queryIndexComments() throws Exception{
		String sql = "SELECT id,time,content,userId,userName,shopId,shopName FROM v_indexcomment";
Object [] params = {};
return JdbcTemplate.queryList("com.kexinde.wjifen.vo.IndexComment", sql, params, 7);
	}
	
}
